Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@babel/plugin-proposal-export-default-from
Advanced tools
The @babel/plugin-proposal-export-default-from package allows developers to use the proposed export default from syntax in their JavaScript code, which is not yet part of the ECMAScript standard. This plugin transforms the proposed syntax into a form that can be understood by current JavaScript engines.
Export default from syntax
This feature allows you to export a default export from another module in a single line. Without this plugin, you would need to import the default export and then export it, which is more verbose.
export v from 'mod';
This package allows you to export namespaced content from another module. It is similar to @babel/plugin-proposal-export-default-from but for namespace exports instead of default exports.
This package was used to provide similar functionality as @babel/plugin-proposal-export-default-from, allowing both default and named exports from syntax. However, it has been deprecated in favor of the individual proposal plugins provided by Babel.
Compile export default to ES2015
See our website @babel/plugin-proposal-export-default-from for more information.
Using npm:
npm install --save-dev @babel/plugin-proposal-export-default-from
or using yarn:
yarn add @babel/plugin-proposal-export-default-from --dev
v7.25.9 (2024-10-22)
babel-parser
, babel-template
, babel-types
syntacticPlaceholders
mode (@liuxingbaoyu)babel-helper-compilation-targets
, babel-preset-env
ClassAccessorProperty
to prevent the no-undef
rule (@victorenator)babel-parser
, babel-types
VISITOR_KEYS
etc. faster to access (@liuxingbaoyu)FAQs
Compile export default to ES2015
The npm package @babel/plugin-proposal-export-default-from receives a total of 4,079,855 weekly downloads. As such, @babel/plugin-proposal-export-default-from popularity was classified as popular.
We found that @babel/plugin-proposal-export-default-from demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.